package com.qf.shixi.result;

public enum ResponseCode {
    SUCCESS("200","success"),
    ERROR("500","systemError"),
    SQLEXCEPTION("10000","sql异常"),
    AUTH_EXCEPTION("10002","用户名或者密码错误"),
    USERINFO_EXCEPTION("10003","用户信息过期"),
    PARAMEXCEPTION("1001","参数异常");
    private String code;

    private String message;


    ResponseCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
